package com.yang.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 订单货源明细
 * @TableName order_goods_details
 */
@TableName(value ="order_goods_details")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "OrderGoodsDetails", description = "订单货源明细模型")
public class OrderGoodsDetails implements Serializable {
    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderId;

    /**
     * 货源编号
     */
    @ApiModelProperty(value = "货源编号")
    private Integer goodsId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}